package com.ns002.yigou.quote.domain.quotekline.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.NotNull;

/**
 * @Author xu
 * @Date 2017/8/7 0007 下午 1:40
 */
@ApiModel
public class LastNodeParam {

    @NotEmpty(message = "K线类型不允许为空")
    @ApiModelProperty(name = "type", value = "K线类型",required = true)
    private String type;      //K线类型
    @ApiModelProperty(name = "contract", value = "产品类型",required = true)
    @NotEmpty(message = "产品类型不允许为空")
    private String contract;  //产品类型


    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getContract() {
        return contract;
    }

    public void setContract(String contract) {
        this.contract = contract;
    }
}
